home *** CD-ROM | disk | FTP | other *** search
/ Apple WWDC 1996 / WWDC96_1996 (CD).toast / Technology Materials / MacOS 8 Resources / Developer Tools / Mac OS 8 Interfaces & Libraries / Interfaces / CIncludes / TSMObject.h < prev    next >
C/C++ Source or Header  |  1996-05-01  |  19KB  |  541 lines

  1.  
  2. /*
  3.  * This file was generated by the SOM Compiler.
  4.  * FileName: TSMObject.h.
  5.  * Generated using:
  6.  *     SOM Precompiler somipc: 2.18
  7.  *     SOM Emitter emith.dll: 2.33
  8.  */
  9.  
  10. #ifndef SOM_TSMObject_h
  11. #define SOM_TSMObject_h
  12.  
  13.  
  14. /*
  15.  * Passthru lines: File: "C.h", "before"
  16.  */
  17. #include <TextServices.h>
  18.  
  19. #include <som.h>
  20.  
  21. /*
  22.  * -- This emitter treats Method Tokens as Thunks by default.
  23.  * -- Use the sc modifier "nothunks" to change this default
  24.  */
  25. #undef somresolve_
  26. #define somresolve_(obj,mToken) ((somMethodProc*)((void)obj, mToken))
  27.  
  28. /*
  29.  * Define the class name as an object type
  30.  */
  31. #ifndef TSMObject
  32. #define TSMObject SOMObject
  33. #endif
  34. #include <somobj.h>
  35.  
  36. /*
  37.  * Start of user-defined types:
  38.  */
  39. #ifndef SOMClass
  40.     #define SOMClass SOMObject
  41. #endif /* SOMClass */
  42. #ifndef SOMObject
  43.     #define SOMObject SOMObject
  44. #endif /* SOMObject */
  45. #ifndef HIWindow
  46.     #define HIWindow SOMObject
  47. #endif /* HIWindow */
  48. #ifndef HIEmbeddingPanel
  49.     #define HIEmbeddingPanel SOMObject
  50. #endif /* HIEmbeddingPanel */
  51.  
  52. /*
  53.  * End of user-defined types.
  54.  */
  55.  
  56. #define TSMObject_MajorVersion 1
  57. #define TSMObject_MinorVersion 1
  58.  
  59. /*
  60.  * External name shortening if required
  61.  */
  62. #ifdef SOM_USE_SHORT_EXTERNAL_NAMES
  63. #define TSMObjectClassData d
  64. #endif /* SOM_USE_SHORT_EXTERNAL_NAMES */
  65. /*--------------Migration------------*/
  66.  
  67. #ifdef OLDIBMSOMAPISUPPORT
  68. #define TSMObject_classObj somNewClassReference(TSMObject)
  69. #define _TSMObject TSMObject_classObj
  70. #define TSMObjectCClassData TSMObjectClassData
  71. #define TSMObjectNewClass(major,minor) somNewVersionedClassReference(TSMObject,major,minor)
  72. #endif
  73.  
  74. /* define xxxMetaClass macro to facilitate (cls ## MetaClass) */
  75. #define TSMObjectMetaClass SOMClass
  76.  
  77. #if PRAGMA_ALIGN_SUPPORTED
  78. #  pragma options align=power
  79. #endif
  80.  
  81. /*
  82.  * Declare the class data structure
  83.  */
  84. SOMEXTERN struct TSMObjectClassDataStructure {
  85. #ifdef OLDIBMSOMAPISUPPORT
  86.     SOMAny            *classObject;    /* always zero, use somNewClassReference instead */
  87. #else
  88.     long zero;
  89. #endif
  90.     somStaticClassInfo *sci;
  91.     somDToken        instanceDataToken;
  92.     long reserved [3];
  93.     somMToken _get_fTSMContext;
  94.     somMToken _set_fTSMContext;
  95.     somMToken _get_fStatus;
  96.     somMToken _set_fStatus;
  97.     somMToken _get_fServiceContext;
  98.     somMToken _set_fServiceContext;
  99.     somMToken InitializeService;
  100.     somMToken TerminateService;
  101.     somMToken ServiceChanged;
  102.     somMToken EditInlineHole;
  103.     somMToken FeatureChanged;
  104.     somMToken ActivateService;
  105.     somMToken DeactivateService;
  106.     somMToken ServiceKeyEvent;
  107.     somMToken ServiceMouseEvent;
  108.     somMToken ServiceWindowEvent;
  109.     somMToken ReleaseInlineHoles;
  110.     somMToken HideServiceWindows;
  111.     somMToken DoSetCursor;
  112.     somMToken TerminateInput;
  113. } SOMDLINK TSMObjectClassData;
  114.  
  115. #if PRAGMA_ALIGN_SUPPORTED
  116. #  pragma options align=reset
  117. #endif
  118.  
  119. #if !defined(TSMObject_Class_Source) && !defined(SOM_Module_tsmobject_Source)
  120. #if PRAGMA_IMPORT_SUPPORTED
  121. #pragma import list TSMObjectClassData
  122. #endif
  123. #endif
  124.  
  125.  
  126. /*
  127.  * New macro for TSMObject
  128.  */
  129. #define TSMObjectNew() somNewObject(TSMObject)
  130.  
  131. /*
  132.  * Override method: somInit
  133.  */
  134. #define TSMObject_somInit(somSelf) \
  135.     SOMObject_somInit(somSelf)
  136.  
  137. /*
  138.  * New Method: _get_fTSMContext
  139.  */
  140. typedef TSMContext   (SOMLINK *somTD_TSMObject__get_fTSMContext)(TSMObject *somSelf, Environment *ev);
  141. #define somMD_TSMObject__get_fTSMContext "::TSMObject::fTSMContext"
  142. #define TSMObject__get_fTSMContext(somSelf,ev) \
  143.     (SOM_Resolve(somSelf, TSMObject, _get_fTSMContext) \
  144.     (somSelf,ev))
  145. #ifndef SOMGD_get_fTSMContext
  146.     #if defined _get_fTSMContext || defined __get_fTSMContext
  147.         #undef _get_fTSMContext
  148.         #undef __get_fTSMContext
  149.         #define SOMGD_get_fTSMContext 1
  150.     #else
  151.         #define __get_fTSMContext TSMObject__get_fTSMContext
  152.     #endif /* __get_fTSMContext */
  153. #endif /* SOMGD_get_fTSMContext */
  154.  
  155. /*
  156.  * New Method: _set_fTSMContext
  157.  */
  158. typedef void   (SOMLINK *somTD_TSMObject__set_fTSMContext)(TSMObject *somSelf, Environment *ev,
  159.         TSMContext fTSMContext);
  160. #define somMD_TSMObject__set_fTSMContext "::TSMObject::fTSMContext"
  161. #define TSMObject__set_fTSMContext(somSelf,ev,fTSMContext) \
  162.     (SOM_Resolve(somSelf, TSMObject, _set_fTSMContext) \
  163.     (somSelf,ev,fTSMContext))
  164. #ifndef SOMGD_set_fTSMContext
  165.     #if defined _set_fTSMContext || defined __set_fTSMContext
  166.         #undef _set_fTSMContext
  167.         #undef __set_fTSMContext
  168.         #define SOMGD_set_fTSMContext 1
  169.     #else
  170.         #define __set_fTSMContext TSMObject__set_fTSMContext
  171.     #endif /* __set_fTSMContext */
  172. #endif /* SOMGD_set_fTSMContext */
  173.  
  174. /*
  175.  * New Method: _get_fStatus
  176.  */
  177. typedef OSStatus   (SOMLINK *somTD_TSMObject__get_fStatus)(TSMObject *somSelf, Environment *ev);
  178. #define somMD_TSMObject__get_fStatus "::TSMObject::fStatus"
  179. #define TSMObject__get_fStatus(somSelf,ev) \
  180.     (SOM_Resolve(somSelf, TSMObject, _get_fStatus) \
  181.     (somSelf,ev))
  182. #ifndef SOMGD_get_fStatus
  183.     #if defined _get_fStatus || defined __get_fStatus
  184.         #undef _get_fStatus
  185.         #undef __get_fStatus
  186.         #define SOMGD_get_fStatus 1
  187.     #else
  188.         #define __get_fStatus TSMObject__get_fStatus
  189.     #endif /* __get_fStatus */
  190. #endif /* SOMGD_get_fStatus */
  191.  
  192. /*
  193.  * New Method: _set_fStatus
  194.  */
  195. typedef void   (SOMLINK *somTD_TSMObject__set_fStatus)(TSMObject *somSelf, Environment *ev,
  196.         OSStatus fStatus);
  197. #define somMD_TSMObject__set_fStatus "::TSMObject::fStatus"
  198. #define TSMObject__set_fStatus(somSelf,ev,fStatus) \
  199.     (SOM_Resolve(somSelf, TSMObject, _set_fStatus) \
  200.     (somSelf,ev,fStatus))
  201. #ifndef SOMGD_set_fStatus
  202.     #if defined _set_fStatus || defined __set_fStatus
  203.         #undef _set_fStatus
  204.         #undef __set_fStatus
  205.         #define SOMGD_set_fStatus 1
  206.     #else
  207.         #define __set_fStatus TSMObject__set_fStatus
  208.     #endif /* __set_fStatus */
  209. #endif /* SOMGD_set_fStatus */
  210.  
  211. /*
  212.  * New Method: _get_fServiceContext
  213.  */
  214. typedef TSMServiceContextRef   (SOMLINK *somTD_TSMObject__get_fServiceContext)(TSMObject *somSelf, Environment *ev);
  215. #define somMD_TSMObject__get_fServiceContext "::TSMObject::fServiceContext"
  216. #define TSMObject__get_fServiceContext(somSelf,ev) \
  217.     (SOM_Resolve(somSelf, TSMObject, _get_fServiceContext) \
  218.     (somSelf,ev))
  219. #ifndef SOMGD_get_fServiceContext
  220.     #if defined _get_fServiceContext || defined __get_fServiceContext
  221.         #undef _get_fServiceContext
  222.         #undef __get_fServiceContext
  223.         #define SOMGD_get_fServiceContext 1
  224.     #else
  225.         #define __get_fServiceContext TSMObject__get_fServiceContext
  226.     #endif /* __get_fServiceContext */
  227. #endif /* SOMGD_get_fServiceContext */
  228.  
  229. /*
  230.  * New Method: _set_fServiceContext
  231.  */
  232. typedef void   (SOMLINK *somTD_TSMObject__set_fServiceContext)(TSMObject *somSelf, Environment *ev,
  233.         TSMServiceContextRef fServiceContext);
  234. #define somMD_TSMObject__set_fServiceContext "::TSMObject::fServiceContext"
  235. #define TSMObject__set_fServiceContext(somSelf,ev,fServiceContext) \
  236.     (SOM_Resolve(somSelf, TSMObject, _set_fServiceContext) \
  237.     (somSelf,ev,fServiceContext))
  238. #ifndef SOMGD_set_fServiceContext
  239.     #if defined _set_fServiceContext || defined __set_fServiceContext
  240.         #undef _set_fServiceContext
  241.         #undef __set_fServiceContext
  242.         #define SOMGD_set_fServiceContext 1
  243.     #else
  244.         #define __set_fServiceContext TSMObject__set_fServiceContext
  245.     #endif /* __set_fServiceContext */
  246. #endif /* SOMGD_set_fServiceContext */
  247.  
  248. /*
  249.  * New Method: InitializeService
  250.  */
  251. typedef OSStatus   (SOMLINK *somTD_TSMObject_InitializeService)(TSMObject *somSelf, Environment *ev);
  252. #define somMD_TSMObject_InitializeService "::TSMObject::InitializeService"
  253. #define TSMObject_InitializeService(somSelf,ev) \
  254.     (SOM_Resolve(somSelf, TSMObject, InitializeService) \
  255.     (somSelf,ev))
  256. #ifndef SOMGD_InitializeService
  257.     #if defined _InitializeService || defined __InitializeService
  258.         #undef _InitializeService
  259.         #undef __InitializeService
  260.         #define SOMGD_InitializeService 1
  261.     #else
  262.         #define _InitializeService TSMObject_InitializeService
  263.     #endif /* _InitializeService */
  264. #endif /* SOMGD_InitializeService */
  265.  
  266. /*
  267.  * New Method: TerminateService
  268.  */
  269. typedef OSStatus   (SOMLINK *somTD_TSMObject_TerminateService)(TSMObject *somSelf, Environment *ev);
  270. #define somMD_TSMObject_TerminateService "::TSMObject::TerminateService"
  271. #define TSMObject_TerminateService(somSelf,ev) \
  272.     (SOM_Resolve(somSelf, TSMObject, TerminateService) \
  273.     (somSelf,ev))
  274. #ifndef SOMGD_TerminateService
  275.     #if defined _TerminateService || defined __TerminateService
  276.         #undef _TerminateService
  277.         #undef __TerminateService
  278.         #define SOMGD_TerminateService 1
  279.     #else
  280.         #define _TerminateService TSMObject_TerminateService
  281.     #endif /* _TerminateService */
  282. #endif /* SOMGD_TerminateService */
  283.  
  284. /*
  285.  * New Method: ServiceChanged
  286.  */
  287. typedef OSStatus   (SOMLINK *somTD_TSMObject_ServiceChanged)(TSMObject *somSelf, Environment *ev);
  288. #define somMD_TSMObject_ServiceChanged "::TSMObject::ServiceChanged"
  289. #define TSMObject_ServiceChanged(somSelf,ev) \
  290.     (SOM_Resolve(somSelf, TSMObject, ServiceChanged) \
  291.     (somSelf,ev))
  292. #ifndef SOMGD_ServiceChanged
  293.     #if defined _ServiceChanged || defined __ServiceChanged
  294.         #undef _ServiceChanged
  295.         #undef __ServiceChanged
  296.         #define SOMGD_ServiceChanged 1
  297.     #else
  298.         #define _ServiceChanged TSMObject_ServiceChanged
  299.     #endif /* _ServiceChanged */
  300. #endif /* SOMGD_ServiceChanged */
  301.  
  302. /*
  303.  * New Method: EditInlineHole
  304.  */
  305. typedef OSStatus   (SOMLINK *somTD_TSMObject_EditInlineHole)(TSMObject *somSelf, Environment *ev,
  306.         AppleEvent* theEvent);
  307. #define somMD_TSMObject_EditInlineHole "::TSMObject::EditInlineHole"
  308. #define TSMObject_EditInlineHole(somSelf,ev,theEvent) \
  309.     (SOM_Resolve(somSelf, TSMObject, EditInlineHole) \
  310.     (somSelf,ev,theEvent))
  311. #ifndef SOMGD_EditInlineHole
  312.     #if defined _EditInlineHole || defined __EditInlineHole
  313.         #undef _EditInlineHole
  314.         #undef __EditInlineHole
  315.         #define SOMGD_EditInlineHole 1
  316.     #else
  317.         #define _EditInlineHole TSMObject_EditInlineHole
  318.     #endif /* _EditInlineHole */
  319. #endif /* SOMGD_EditInlineHole */
  320.  
  321. /*
  322.  * New Method: FeatureChanged
  323.  */
  324. typedef OSStatus   (SOMLINK *somTD_TSMObject_FeatureChanged)(TSMObject *somSelf, Environment *ev,
  325.         UInt32 theType);
  326. #define somMD_TSMObject_FeatureChanged "::TSMObject::FeatureChanged"
  327. #define TSMObject_FeatureChanged(somSelf,ev,theType) \
  328.     (SOM_Resolve(somSelf, TSMObject, FeatureChanged) \
  329.     (somSelf,ev,theType))
  330. #ifndef SOMGD_FeatureChanged
  331.     #if defined _FeatureChanged || defined __FeatureChanged
  332.         #undef _FeatureChanged
  333.         #undef __FeatureChanged
  334.         #define SOMGD_FeatureChanged 1
  335.     #else
  336.         #define _FeatureChanged TSMObject_FeatureChanged
  337.     #endif /* _FeatureChanged */
  338. #endif /* SOMGD_FeatureChanged */
  339.  
  340. /*
  341.  * New Method: ActivateService
  342.  */
  343. typedef OSStatus   (SOMLINK *somTD_TSMObject_ActivateService)(TSMObject *somSelf, Environment *ev);
  344. #define somMD_TSMObject_ActivateService "::TSMObject::ActivateService"
  345. #define TSMObject_ActivateService(somSelf,ev) \
  346.     (SOM_Resolve(somSelf, TSMObject, ActivateService) \
  347.     (somSelf,ev))
  348. #ifndef SOMGD_ActivateService
  349.     #if defined _ActivateService || defined __ActivateService
  350.         #undef _ActivateService
  351.         #undef __ActivateService
  352.         #define SOMGD_ActivateService 1
  353.     #else
  354.         #define _ActivateService TSMObject_ActivateService
  355.     #endif /* _ActivateService */
  356. #endif /* SOMGD_ActivateService */
  357.  
  358. /*
  359.  * New Method: DeactivateService
  360.  */
  361. typedef OSStatus   (SOMLINK *somTD_TSMObject_DeactivateService)(TSMObject *somSelf, Environment *ev);
  362. #define somMD_TSMObject_DeactivateService "::TSMObject::DeactivateService"
  363. #define TSMObject_DeactivateService(somSelf,ev) \
  364.     (SOM_Resolve(somSelf, TSMObject, DeactivateService) \
  365.     (somSelf,ev))
  366. #ifndef SOMGD_DeactivateService
  367.     #if defined _DeactivateService || defined __DeactivateService
  368.         #undef _DeactivateService
  369.         #undef __DeactivateService
  370.         #define SOMGD_DeactivateService 1
  371.     #else
  372.         #define _DeactivateService TSMObject_DeactivateService
  373.     #endif /* _DeactivateService */
  374. #endif /* SOMGD_DeactivateService */
  375.  
  376. /*
  377.  * New Method: ServiceMouseEvent
  378.  */
  379. typedef OSStatus   (SOMLINK *somTD_TSMObject_ServiceMouseEvent)(TSMObject *somSelf, Environment *ev,
  380.         Point* mousePos,
  381.         KeyboardModifiers Modifiers,
  382.         UInt32 when,
  383.         UInt32 theEventType,
  384.         AppleEvent* event);
  385. #define somMD_TSMObject_ServiceMouseEvent "::TSMObject::ServiceMouseEvent"
  386. #define TSMObject_ServiceMouseEvent(somSelf,ev,mousePos,Modifiers,when,theEventType,event) \
  387.     (SOM_Resolve(somSelf, TSMObject, ServiceMouseEvent) \
  388.     (somSelf,ev,mousePos,Modifiers,when,theEventType,event))
  389. #ifndef SOMGD_ServiceMouseEvent
  390.     #if defined _ServiceMouseEvent || defined __ServiceMouseEvent
  391.         #undef _ServiceMouseEvent
  392.         #undef __ServiceMouseEvent
  393.         #define SOMGD_ServiceMouseEvent 1
  394.     #else
  395.         #define _ServiceMouseEvent TSMObject_ServiceMouseEvent
  396.     #endif /* _ServiceMouseEvent */
  397. #endif /* SOMGD_ServiceMouseEvent */
  398.  
  399. /*
  400.  * New Method: ServiceKeyEvent
  401.  */
  402. typedef OSStatus   (SOMLINK *somTD_TSMObject_ServiceKeyEvent)(TSMObject *somSelf, Environment *ev,
  403.         KeyboardModifiers Modifiers,
  404.         VirtualKeyCode theKeyCode,
  405.         VirtualKeyCode theCharCode,
  406.         AppleEvent* event);
  407. #define somMD_TSMObject_ServiceKeyEvent "::TSMObject::ServiceKeyEvent"
  408. #define TSMObject_ServiceKeyEvent(somSelf,ev,Modifiers,theKeyCode,theCharCode,event) \
  409.     (SOM_Resolve(somSelf, TSMObject, ServiceKeyEvent) \
  410.     (somSelf,ev,Modifiers,theKeyCode,theCharCode,event))
  411. #ifndef SOMGD_ServiceKeyEvent
  412.     #if defined _ServiceKeyEvent || defined __ServiceKeyEvent
  413.         #undef _ServiceKeyEvent
  414.         #undef __ServiceKeyEvent
  415.         #define SOMGD_ServiceKeyEvent 1
  416.     #else
  417.         #define _ServiceKeyEvent TSMObject_ServiceKeyEvent
  418.     #endif /* _ServiceKeyEvent */
  419. #endif /* SOMGD_ServiceKeyEvent */
  420.  
  421. /*
  422.  * New Method: ServiceWindowEvent
  423.  */
  424. typedef OSStatus   (SOMLINK *somTD_TSMObject_ServiceWindowEvent)(TSMObject *somSelf, Environment *ev,
  425.         HIWindow* theWindow,
  426.         UInt32 theEventType,
  427.         AppleEvent* event);
  428. #define somMD_TSMObject_ServiceWindowEvent "::TSMObject::ServiceWindowEvent"
  429. #define TSMObject_ServiceWindowEvent(somSelf,ev,theWindow,theEventType,event) \
  430.     (SOM_Resolve(somSelf, TSMObject, ServiceWindowEvent) \
  431.     (somSelf,ev,theWindow,theEventType,event))
  432. #ifndef SOMGD_ServiceWindowEvent
  433.     #if defined _ServiceWindowEvent || defined __ServiceWindowEvent
  434.         #undef _ServiceWindowEvent
  435.         #undef __ServiceWindowEvent
  436.         #define SOMGD_ServiceWindowEvent 1
  437.     #else
  438.         #define _ServiceWindowEvent TSMObject_ServiceWindowEvent
  439.     #endif /* _ServiceWindowEvent */
  440. #endif /* SOMGD_ServiceWindowEvent */
  441.  
  442. /*
  443.  * New Method: HideServiceWindows
  444.  */
  445. typedef OSStatus   (SOMLINK *somTD_TSMObject_HideServiceWindows)(TSMObject *somSelf, Environment *ev);
  446. #define somMD_TSMObject_HideServiceWindows "::TSMObject::HideServiceWindows"
  447. #define TSMObject_HideServiceWindows(somSelf,ev) \
  448.     (SOM_Resolve(somSelf, TSMObject, HideServiceWindows) \
  449.     (somSelf,ev))
  450. #ifndef SOMGD_HideServiceWindows
  451.     #if defined _HideServiceWindows || defined __HideServiceWindows
  452.         #undef _HideServiceWindows
  453.         #undef __HideServiceWindows
  454.         #define SOMGD_HideServiceWindows 1
  455.     #else
  456.         #define _HideServiceWindows TSMObject_HideServiceWindows
  457.     #endif /* _HideServiceWindows */
  458. #endif /* SOMGD_HideServiceWindows */
  459.  
  460. /*
  461.  * New Method: DoSetCursor
  462.  */
  463. typedef OSStatus   (SOMLINK *somTD_TSMObject_DoSetCursor)(TSMObject *somSelf, Environment *ev,
  464.         Point* mousePos,
  465.         RegionClass rgnClass,
  466.         ByteOffset offset,
  467.         boolean isLeftHand,
  468.         AppleEvent* theEvent);
  469. #define somMD_TSMObject_DoSetCursor "::TSMObject::DoSetCursor"
  470. #define TSMObject_DoSetCursor(somSelf,ev,mousePos,rgnClass,offset,isLeftHand,theEvent) \
  471.     (SOM_Resolve(somSelf, TSMObject, DoSetCursor) \
  472.     (somSelf,ev,mousePos,rgnClass,offset,isLeftHand,theEvent))
  473. #ifndef SOMGD_DoSetCursor
  474.     #if defined _DoSetCursor || defined __DoSetCursor
  475.         #undef _DoSetCursor
  476.         #undef __DoSetCursor
  477.         #define SOMGD_DoSetCursor 1
  478.     #else
  479.         #define _DoSetCursor TSMObject_DoSetCursor
  480.     #endif /* _DoSetCursor */
  481. #endif /* SOMGD_DoSetCursor */
  482.  
  483. /*
  484.  * New Method: ReleaseInlineHoles
  485.  */
  486. typedef OSStatus   (SOMLINK *somTD_TSMObject_ReleaseInlineHoles)(TSMObject *somSelf, Environment *ev);
  487. #define somMD_TSMObject_ReleaseInlineHoles "::TSMObject::ReleaseInlineHoles"
  488. #define TSMObject_ReleaseInlineHoles(somSelf,ev) \
  489.     (SOM_Resolve(somSelf, TSMObject, ReleaseInlineHoles) \
  490.     (somSelf,ev))
  491. #ifndef SOMGD_ReleaseInlineHoles
  492.     #if defined _ReleaseInlineHoles || defined __ReleaseInlineHoles
  493.         #undef _ReleaseInlineHoles
  494.         #undef __ReleaseInlineHoles
  495.         #define SOMGD_ReleaseInlineHoles 1
  496.     #else
  497.         #define _ReleaseInlineHoles TSMObject_ReleaseInlineHoles
  498.     #endif /* _ReleaseInlineHoles */
  499. #endif /* SOMGD_ReleaseInlineHoles */
  500.  
  501. /*
  502.  * New Method: TerminateInput
  503.  */
  504. typedef OSStatus   (SOMLINK *somTD_TSMObject_TerminateInput)(TSMObject *somSelf, Environment *ev);
  505. #define somMD_TSMObject_TerminateInput "::TSMObject::TerminateInput"
  506. #define TSMObject_TerminateInput(somSelf,ev) \
  507.     (SOM_Resolve(somSelf, TSMObject, TerminateInput) \
  508.     (somSelf,ev))
  509. #ifndef SOMGD_TerminateInput
  510.     #if defined _TerminateInput || defined __TerminateInput
  511.         #undef _TerminateInput
  512.         #undef __TerminateInput
  513.         #define SOMGD_TerminateInput 1
  514.     #else
  515.         #define _TerminateInput TSMObject_TerminateInput
  516.     #endif /* _TerminateInput */
  517. #endif /* SOMGD_TerminateInput */
  518. #ifndef SOM_DONT_USE_INHERITED_MACROS
  519. #define TSMObject_somUninit SOMObject_somUninit
  520. #define TSMObject_somDuplicateReference SOMObject_somDuplicateReference
  521. #define TSMObject_somCompareReference SOMObject_somCompareReference
  522. #define TSMObject_somRelease SOMObject_somRelease
  523. #define TSMObject_somFree SOMObject_somFree
  524. #define TSMObject_somCanDelete SOMObject_somCanDelete
  525. #define TSMObject_somGetClass SOMObject_somGetClass
  526. #define TSMObject_somGetClassName SOMObject_somGetClassName
  527. #define TSMObject_somGetSize SOMObject_somGetSize
  528. #define TSMObject_somIsA SOMObject_somIsA
  529. #define TSMObject_somRespondsTo SOMObject_somRespondsTo
  530. #define TSMObject_somIsInstanceOf SOMObject_somIsInstanceOf
  531. #define TSMObject_somDispatch SOMObject_somDispatch
  532. #define TSMObject_somClassDispatch SOMObject_somClassDispatch
  533. #define TSMObject_somCastObj SOMObject_somCastObj
  534. #define TSMObject_somResetObj SOMObject_somResetObj
  535. #define TSMObject_somPrintSelf SOMObject_somPrintSelf
  536. #define TSMObject_somDumpSelf SOMObject_somDumpSelf
  537. #define TSMObject_somDumpSelfInt SOMObject_somDumpSelfInt
  538. #endif /* SOM_DONT_USE_INHERITED_MACROS */
  539.  
  540. #endif       /* SOM_TSMObject_h */
  541.